//---------------------------------------------------------------------------

#ifndef OTKL_PRIBH
#define OTKL_PRIBH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "Shablon_Edit.h"
#include <ExtCtrls.hpp>
#include <DB.hpp>
#include <DBCtrls.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <ActnList.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrOTKL_PRIB : public TfrShablon_Edit
{
__published:	// IDE-managed Components
	TLabel *Label1;
	TDBText *labNOM;
	TLabel *Label2;
	TDBText *labDATA_DOG;
	TLabel *Label3;
	TDBText *labAdres;
	TLabel *Label4;
	TDBText *labKOL_JIL;
	TLabel *Label5;
	TDBText *labKOL_LG;
	TLabel *Label6;
	TDBText *labVID_GAZA;
	TLabel *Label15;
	TDBText *labVID_RASHET;
	TLabel *Label7;
	TDBText *labTARIF;
	TDBText *labPLIT;
	TLabel *Label19;
	TLabel *Label20;
	TDBText *labKOL_KOTL;
	TLabel *Label21;
	TDBText *labKOL_BPG;
	TDBGrid *dgF_PRIB;
	TActionList *ActionList1;
	TAction *OTKL_PRIB;
	TLabel *Label8;
	TAction *OTKL_OBORUD;
	TIBCQuery *dsetOTKL_PRIB;
	TIBCQuery *dsetKOL_BUKV;
	TIBCQuery *dsetF_PRIB;
	TIBCDataSource *dsOTKL_PRIB;
	TIBCDataSource *dsKOL_BUKV;
	TIBCDataSource *dsF_PRIB;
	void __fastcall FormKeyPress(TObject *Sender, char &Key);
	void __fastcall OTKL_PRIBExecute(TObject *Sender);
	void __fastcall OTKL_OBORUDExecute(TObject *Sender);
	void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:	// User declarations
public:		// User declarations
int NOM;
	__fastcall TfrOTKL_PRIB(TComponent* Owner);
	void __fastcall TfrOTKL_PRIB::Obnovi();
	void __fastcall TfrOTKL_PRIB::F_PRIB();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrOTKL_PRIB *frOTKL_PRIB;
//---------------------------------------------------------------------------
#endif
